# Find the TH includes and library
#
# TH_INCLUDE_DIR -- where to find the includes
# TH_LIBRARIES -- list of libraries to link against
# TH_FOUND -- set to 1 if found

SET(TH_FOUND 1)
SET(TH_INCLUDE_DIR "@TH_INCLUDE_DIR@")
# TODO: TH right now uses old-style cmake targets, and due to
# transitive dependency, now libraries such as libshm depend
# on C10 as well. As a result, we manually add that TH_LIBRARIES
# will contain C10 as well.
SET(TH_LIBRARIES "@TH_LIBRARIES@;@C10_LIBRARIES")
